name: pre-commit run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit/bin:/opt/pyenv/bin:/tmp/venv-vt4E/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONHASHSEED: 1742175188 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit env TOX_ENV_NAME: pre-commit env TOX_WORK_DIR: /w/workspace/bgpcep-tox-verify-master/.tox env VIRTUAL_ENV: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 2377 cwd: /w/workspace/bgpcep-tox-verify-master allow: /w/workspace/bgpcep-tox-verify-master/.tox/pre-commit/bin/* cmd: pre-commit run --all-files --show-diff-on-failure exit_code: 1 [WARNING] hook id `remove-tabs` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this. [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... trim trailing whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing tests/variables/bgpuser/empty_pcep_topology/data.json Tabs remover.............................................................Failed - hook id: remove-tabs - exit code: 1 - files were modified by this hook Substituting tabs in: tests/variables/bgpfunctional/bgppolicies/exabgp_configs/exabgp3.cfg by 4 whitespaces Substituting tabs in: tests/variables/bgpfunctional/addNeighborsContainer_bgp/post_data.json by 4 whitespaces Tabs have been successfully removed. Now aborting the commit. You can check the changes made. Then simply "git add --update ." and re-commit pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/tests/variables/bgpfunctional/addNeighborsContainer_bgp/post_data.json b/tests/variables/bgpfunctional/addNeighborsContainer_bgp/post_data.json index e6e09e2438..7afa3b9a95 100644 --- a/tests/variables/bgpfunctional/addNeighborsContainer_bgp/post_data.json +++ b/tests/variables/bgpfunctional/addNeighborsContainer_bgp/post_data.json @@ -1,10 +1,10 @@ { - "neighborsContainer": { - "neighbors":[ - { - "address":"$neighborAddr", - "remote-as":$remoteas - } - ] - } + "neighborsContainer": { + "neighbors":[ + { + "address":"$neighborAddr", + "remote-as":$remoteas + } + ] + } } diff --git a/tests/variables/bgpfunctional/bgppolicies/exabgp_configs/exabgp3.cfg b/tests/variables/bgpfunctional/bgppolicies/exabgp_configs/exabgp3.cfg index 17f86a802f..aba39f0d74 100644 --- a/tests/variables/bgpfunctional/bgppolicies/exabgp_configs/exabgp3.cfg +++ b/tests/variables/bgpfunctional/bgppolicies/exabgp_configs/exabgp3.cfg @@ -15,7 +15,7 @@ neighbor ODLIP { extended-community [ target:24563:7.35.75.46 ]; label 256; } - } + } capability { route-refresh ROUTEREFRESH; diff --git a/tests/variables/bgpuser/empty_pcep_topology/data.json b/tests/variables/bgpuser/empty_pcep_topology/data.json index b51eddae79..6d4dabf0d8 100644 --- a/tests/variables/bgpuser/empty_pcep_topology/data.json +++ b/tests/variables/bgpuser/empty_pcep_topology/data.json @@ -4,7 +4,7 @@ "topology-id":"pcep-topology", "topology-types":{ "network-topology-pcep:topology-pcep":{ - + } } }